using Sustainalytics.Entities;
using System.Collections.Generic;

namespace Sustainalytics.ScreeningTool.Synchronization.Entities
{
    public class FieldDefinition
    {
        public FieldDefinition()
        {
            ResearchProducts = new List<ResearchProduct> { };
        }

        public string Key { get; set; }
        public string CriteriaEntityField { get => Key; set { Key = value; } }

        public bool HasOwnValue { get; set; }

        public IEnumerable<ResearchProduct> ResearchProducts { get; set; }
    }
}
